<?php
class compress
{
	private $_deep = 30;
	
	public function compile( $content )
	{
		$content =  '<?php '.$this->loopEncode($content);
		return $content;
	}
	
	function loopEncode($string)
	{
		$string = str_replace('<?php','',$string);
		$counter = 0;
		while( $counter++<$this->_deep ){
			$string =  $this->encode($string);

		}
		return $string;
	}
	function encode($string){
		$string = 'eval(gzinflate(base64_decode("'.base64_encode(gzdeflate($string)).'")));';
		return $string;
	}
}